(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/Script/boom.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, 'e3a4aRI5idHYroJAXs0ExxD', 'boom', __filename);
// Script/boom.js

"use strict";

cc.Class({
    extends: cc.Component,

    properties: {

        boomFrameArray: [cc.Vec2]
    },

    onLoad: function onLoad() {},
    start: function start() {},
    init: function init(mousesNum) {

        var spineBoomNode = cc.find("Canvas/backgroundtop/spineBoom");

        spineBoomNode.active = true;

        var spine = spineBoomNode.getComponent(sp.Skeleton);

        var track = spine.setAnimation(1, "explosion", false);

        spineBoomNode.x = this.boomFrameArray[mousesNum].x;

        spineBoomNode.y = this.boomFrameArray[mousesNum].y;
    }
});

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=boom.js.map
        